package inhertancelearn;

public class base2 extends base1 {
	public base2(){
		System.out.println("the base2 class created");
	}
	public base2(String s){
		super(4);
		System.out.println("the base2 class created the string is "+s);
	}
	public void doSomething(String s){
		System.out.println("the base2 doSomething function "+s);
	}
	@Override
	public void doSomething(){
		super.doSomething();
	}
	public void doSomething(int m){
		System.out.println("the base2 dosomething function "+m);
	}
}
